﻿using Consul;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace DeZhen.Core.Consul.Platform
{
    public interface IConsulPlatform
    {
        Task<String> GetServerAsync(string serviceName);
        Task<AgentService> GetServerInfoAsync(string serviceName);
        Task<IList<AgentService>> GetServerListAsync(string serviceName);
    }
}
